package com.wondertek.poms.dao.pojo;

import com.wondertek.poms.common.utils.excel.annotation.ExcelField;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class EquityTreeAndNodesExcelPojo {

    @ExcelField(title = "权益树名称", align = 2, sort = 1)
    @NotBlank(message = "权益树名不能为空")
    private String equityTreeName;

    @ExcelField(title = "权益树别名", align = 2, sort = 1)
    private String alias;

    @ExcelField(title = "权益树是否发布", align = 2, sort = 1)
    private String autoPublish;

    @ExcelField(title = "节点名", align = 2, sort = 1)
    private String name;// 权益节点名

    @ExcelField(title = "节点别名", align = 2, sort = 1)
    private String nodeAlias;// 节点别名

    @ExcelField(title = "状态", align = 2, sort = 1)
    private String status; // 0 启用 1：禁用

    @ExcelField(title = "层级", align = 2, sort = 1)
    private Integer hierarchy; // 层级

    @ExcelField(title = "产品组Id", align = 2, sort = 1)
    private Long groupId; // 关联组id
}
